
#include <stdio.h>
#include <time.h>
#include<unistd.h>
#include<string.h>
#include "CCrawlerProject.h"


using namespace std;
using namespace lzpLib;



int main() {
	printf("hellp world!\n");


	CCrawlerProject *tMng = CCrawlerProject::Create();
//	tMng->Init("http://www.3g2y.com/tiyu/", "ruler_tbx");
	tMng->Init("http://bbs.voc.com.cn/forum-50-1.html", "ruler_voc", 10);
	tMng->Start();
	printf("------------------------>\n");
	tMng->WaitEnd();
	printf("<------------------------\n");
	tMng->Stop();
	tMng->UnInit();
	delete tMng;
	tMng = NULL;
	printf("end------------------------>\n");

	return 0;
}
